package com.dailyblue.project.estate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.project.estate.commons.bean.ChargeDetail;
import com.dailyblue.project.estate.commons.util.JsonResult;
import org.springframework.stereotype.Service;

/**
 * @Auther:Liu
 * @Testname:ChargeService
 * @Date:2025/9/18 13:56
 */
@Service
public interface ChargeService extends IService<ChargeDetail> {
    //添加数据
    JsonResult saveChargeDetail(ChargeDetail chargeDetail);
    //查询一条数据
    JsonResult findOneById(String id);
    //查询所有数据
    JsonResult findAll();
    //删除一条数据
    JsonResult deleteOneById(String id);

    //更新一条数据
    JsonResult updateOneById(ChargeDetail chargeDetail);
}
